package com.example.auth.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 资源
 *
 * @author yang
 * @date 2021-08-23 23:45:04
 */
@Data
@TableName("sys_permission")
@EqualsAndHashCode(callSuper = true)
public class SysPermissionEntity extends Model<SysPermissionEntity> {
private static final long serialVersionUID = 1L;

/**
 * 资源ID
 */
@ApiModelProperty( value = "资源ID")
@TableId
private String id;
/**
 * 资源名称
 */
@ApiModelProperty( value = "资源名称")
private String name;
/**
 * 资源标识
 */
@ApiModelProperty( value = "资源标识")
private String permission;
/**
 * 请求路径
 */
@ApiModelProperty( value = "请求路径")
private String url;

}